<template>
    <div>
      <h1>首页!</h1>
      <button @click="goToNewsDetail">新闻详情</button>
      <button @click="goToFeedbackPage">反馈页面</button>
    </div>
  </template>
  
  <script>
  export default {
    name: 'HomePage',
    methods: {
      goToNewsDetail() {
        this.$router.push('/newsdetail')
      },
      goToFeedbackPage() {
        this.$router.push('/feedbackpage')
      }
    }
  }
  </script>
  
  <style scoped>
  </style>
  